<?php
require("init.php");
if(empty($_SERVER['HTTP_REFERER'])) exit;
$act=trim($_GET['act']);
switch ($act) {
	case 'getusername':
		getusername();
	break;
}
function getusername(){
	$arr['name']=getrand();
	echo json_encode($arr);	
	exit;
}
?>